<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>ejs模板post提交数据</title>
    </head>
    <body>
        <form action="/doAdd" method="post">
            <input type="text" name="username" />

            <br />
            <br />

            <input type="password" name="password" />

            <br />
            <br />

            <input type="submit" value="提交" />
        </form>
    </body>
</html>